A Linear-Time Algorithm for Testing the Truth of Certain Quantified Boolean Formulas

نویسندگان

  • Bengt Aspvall
  • Michael F. Plass
  • Robert E. Tarjan
چکیده

Let F = Qlxr Qzxz l ** Qnx, C be a quantified Boolean formula with no free variables, where each Qi is either 3 or t, and C is in conjunctive normal form. That is, C is a conjunction of clauses, each clause is a disjunction of literals, and each literal is either a variable, xi, or the negation of a variable, Zi (1 < i f n). We shall use Ui to denote a literal equal to either Xi or Fi. The evaluation problem for quantified Boolean formulas is to determine whether such a formula F is true. The evaluation problem is complete in polynomial space [6], even if C is restricted to contain at most three literals per clause. The satisfiability problem, the special case in which all quantifiers are existential, is NP-complete [ 1,2,4] for formulas with three literals per clause. However, the satisfiability problem for formulas with only two literals per clause is solvable in polynomial time [ 1,2,4] ; Even, Itai, and Shamir [3] outline a linear-time algorithm. Schaefer [5] claims a polynomial time bound for the evaluation problem with two literals per clause, although he gives no proof. In this note we present a simple constructive algorithm for the evaluation of formulas having two literals per clause, which runs in linear time on a random access machine.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Searching for Truth: Techniques for Satisfiability of Boolean Formulas

The problem of determining whether a propositional Boolean formula can be true is called the Boolean Satisfiability Problem or SAT. SAT is an important and widely studied problem in computer science. In practice, SAT is a core problem in many applications such as Electronic Design Automation (EDA) and Artificial Intelligence (AI). This thesis investigates various problems in the design and impl...

متن کامل

Hybrid Solving for Quantified Boolean Formulas Based on SVM and Reinforcement Learning ⋆

In this paper, a new SVM classification algorithm is proposed, this algorithm is applied in Quantified Boolean Formulas (QBF) hybrid solving and a new QBF hybrid solver is designed. This solver apply SVM algorithm to construct inductive models and classify the formulae. At the same time, the reinforcement learning technology is applied to realize the dynamic algorithm selection. The relationshi...

متن کامل

Playing with Quantified Satisfaction

We develop an algorithm for satisfiability of quantified formulas. The algorithm is based on recent progress in solving Quantified Boolean Formulas, but it generalizes beyond propositional logic to theories, such as linear arithmetic over integers (Presburger arithmetic), linear arithmetic over reals, algebraic data-types and arrays. Compared with previous algorithms for satisfiability of quant...

متن کامل

Beating Exhaustive Search for Quantified Boolean Formulas and Connections to Circuit Complexity

We study algorithms for the satisfiability problem for quantified Boolean formulas (QBFs), and consequences of faster algorithms for circuit complexity. • We show that satisfiability of quantified 3-CNFs with m clauses, n variables, and two quantifier blocks (one existential block and one universal) can be solved deterministically in time 2n−Ω( √ n) · poly(m). For the case of multiple quantifie...

متن کامل

Dealing with Symmetries in Quantified Boolean Formulas

Many reasoning task and combinatorial problems exhibit symmetries. Exploiting symmetries has been proved very important in reducing search efforts. This important task is widely investigated in constraint satisfaction problems and satisfiability of boolean formulas. In this paper, we show how symmetries can be naturally extended to Quantified Boolean Formulas (QBFs). A symmetries detection algo...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Inf. Process. Lett.

دوره 8  شماره 

صفحات  -

تاریخ انتشار 1979